package com.xiaoxu.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author xiaoxu
 * @version 1.0
 * @description 修改课程dto
 * @date 2023/1/17 17:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="EditCourseDto", description="修改课程详细信息")
public class EditCourseDto extends AddCourseDto{
    /**
     * 课程Id
     */
    @ApiModelProperty(value = "课程Id", required = true)
    @NotNull(message = "课程Id异常，请重试")
    private Long id;
}
